#ifndef CENTRALWIDGET_H
#define CENTRALWIDGET_H

#include <QWidget>
#include "../Summator/summator.h"

#include <QLabel>
#include <QSpinBox>
#include <QPushButton>


class CentralWidget : public QWidget
{
    Q_OBJECT
public:
    explicit CentralWidget(QWidget *parent = 0);

private:
    Summator * m_summator;
    QLabel * label_sum;
    QSpinBox * value_a;
    QSpinBox * value_b;
    QPushButton * set_bttn;

signals:

public slots:
    void set_bttn_pressed();
    void summator_valuesChanged();

};

#endif // CENTRALWIDGET_H
